package com.yy.pojo;

public class ShoppingCart {
    private Integer cid;
    //购物车商品的gid
    private Integer gid;
    //该商品的数量
    private Integer count;

    public ShoppingCart() {
    }

    public ShoppingCart(Integer cid, Integer gid, Integer count) {
        this.cid = cid;
        this.gid = gid;
        this.count = count;
    }

    /**
     * 获取
     * @return cid
     */
    public Integer getCid() {
        return cid;
    }

    /**
     * 设置
     * @param cid
     */
    public void setCid(Integer cid) {
        this.cid = cid;
    }

    /**
     * 获取
     * @return gid
     */
    public Integer getGid() {
        return gid;
    }

    /**
     * 设置
     * @param gid
     */
    public void setGid(Integer gid) {
        this.gid = gid;
    }

    /**
     * 获取
     * @return count
     */
    public Integer getCount() {
        return count;
    }

    /**
     * 设置
     * @param count
     */
    public void setCount(Integer count) {
        this.count = count;
    }

    public String toString() {
        return "ShoppingCart{cid = " + cid + ", gid = " + gid + ", count = " + count + "}";
    }
}
